{%include file="header.html"%}
<form action="" method="POST">
<table width="100%" border="0" class="adminlist" cellspacing="0">
  <thead>
  <tr>
 	 <th><input id="toggle" type="checkbox" value=""/></th>
    <th>{%$systemLang.manageAccount%}</th>
	<th>{%$systemLang.indexNickName%}</th>
    <th>{%$systemLang.userGroup%}</th>
    <th>{%$systemLang.status%}</th>
    <th>{%$systemLang.operate%}</th>
  </tr>
  </thead>
  <tbody>
  {%foreach from=$userslist item="u" key="a"%}
   <tr class="row0">
   <td><input name="select_id[]" type="checkbox"  class="checkbox" id="cb{%$a++%}" value="{%$u.user_id%}" /></td>
    <td>{%$u.user_name%}&nbsp;</td>
	<td>{%$u.user_true_name%}&nbsp;</td>
    <td>{%$u.group_value%}&nbsp;</td>
    <td>{%if $u.user_status == 1 %}<font color=00ff00>{%$systemLang.pass%}</font>{%else%}<font color=ff0000>{%$systemLang.unPass%}</font>{%/if%}&nbsp;</td>
   	<td>
    <a href="{%$smarty.const.BASEURI%}user/edit/{%$u.user_id%}">{%$systemLang.edit%}</a>&nbsp;
    <a href="{%$smarty.const.BASEURI%}user/delete/{%$u.user_id%}" {%$smarty.const.IS_DELETE%}>{%$systemLang.del%}</a></td>
  </tr>
  {%/foreach%}
  </tbody>
  <tfoot>
      <tr>
        <td colspan="5">
    <input type="button"  class="button" value="{%$systemLang.del%}" onclick="select_control('{%$smarty.const.BASEURI%}user/delete','{%$systemLang.confirmDel%}')"/>
    <input type="button"  class="button" value="{%$systemLang.add%}" onclick="button_location('{%$smarty.const.BASEURI%}user/add')" accesskey="N" />
        </td>
      </tr>
  </tfoot>
</table>
</form>
